<?php

define('Copyright', 'Copyright 2019 HK6 All Rights Reserved.');
define('ROOT_PATH', $_SERVER["DOCUMENT_ROOT"].'/');
include_once ROOT_PATH.'cnclass/class.php';

    $SafeCode = $_REQUEST['SafeCode'];

if($config['hy_code'] == $SafeCode ) {
    $url = 'c.html';
}else if($config['gl_code'] == $SafeCode){
    $url = 'http://192.168.30.8:823';
}else{
    $url="http://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&rsv_idx=1";
}
echo "<script>location.href='$url'; </script>";
exit;







?>